package com.ruoyi.ifmDepartmentTitle.mapper;

import com.ruoyi.ifmDepartmentTitle.domain.IfmDepartmentTitle;

import java.util.List;


/**
 * 部职别Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-31
 */
public interface IfmDepartmentTitleMapper
{
    /**
     * 查询部职别
     *
     * @param titleId 部职别主键
     * @return 部职别
     */
    public IfmDepartmentTitle selectIfmDepartmentTitleByTitleId(Long titleId);

    /**
     * 查询部职别列表
     *
     * @param ifmDepartmentTitle 部职别
     * @return 部职别集合
     */
    public List<IfmDepartmentTitle> selectIfmDepartmentTitleList(IfmDepartmentTitle ifmDepartmentTitle);

    /**
     * 新增部职别
     *
     * @param ifmDepartmentTitle 部职别
     * @return 结果
     */
    public int insertIfmDepartmentTitle(IfmDepartmentTitle ifmDepartmentTitle);

    /**
     * 修改部职别
     *
     * @param ifmDepartmentTitle 部职别
     * @return 结果
     */
    public int updateIfmDepartmentTitle(IfmDepartmentTitle ifmDepartmentTitle);

    /**
     * 删除部职别
     *
     * @param titleId 部职别主键
     * @return 结果
     */
    public int deleteIfmDepartmentTitleByTitleId(Long titleId);

    /**
     * 批量删除部职别
     *
     * @param titleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIfmDepartmentTitleByTitleIds(Long[] titleIds);
}
